package ysq.xyg.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "web_config")
public class WebConfig implements Serializable {

    @Id
    private String id;

    private String logo;

    private String qq;

    @Column(name = "link_phone")
    private String linkPhone;

    @Column(name = "work_phone")
    private String workPhone;

    @Column(name = "wechat")
    private String wechat;

    @Column(name = "pay_pic")
    private String payPic;

    @Column(name = "eamil")
    private String eamil;

    @Column(name = "address")
    private String address;

    @Column(name = "bottom_pic")
    private String bottomPic;

    @Column(name = "name")
    private String name;

    @Column(name = "keyword")
    private String keyword;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
    /**
     *经度，浮点数，范围为180 ~ -180。
     */
    @Column(name = "longitude")
    private String longitude;

    /**
     *纬度，浮点数，范围为90 ~ -90
     */
    @Column(name = "latitude")
    private String latitude;
}